package com.example.administrator.text.wxapi;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.example.administrator.text.utils.LogUtil;
import com.tencent.mm.opensdk.modelbase.BaseReq;
import com.tencent.mm.opensdk.modelbase.BaseResp;
import com.tencent.mm.opensdk.openapi.IWXAPIEventHandler;
import org.greenrobot.eventbus.EventBus;

/**
 * 目前就是 微信支付 结果的回调
 */
public class WXPayEntryActivity extends Activity implements IWXAPIEventHandler {

    @Override protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        LogUtil.eE("string","--WXPayEntryActivity onCreate（）进来");
        EventBus.getDefault().post("weChatPay");
        finish();

    }

    @Override
    protected void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        setIntent(intent);
    }

    @Override public void onReq(BaseReq baseReq) {

    }

    @Override public void onResp(BaseResp baseResp) {
    }
}
